<extend name="template/base_index" />


<block name="area_header">

    <link rel="stylesheet" type="text/css" media="all" href="__CDN__/jquery-datetimepicker/jquery.datetimepicker.css">
    <script type="text/javascript" src="__CDN__/jquery-datetimepicker/jquery.datetimepicker.js"></script>
    <script type="text/javascript" src="__CDN__/jquery-validation/1.13.1/jquery.validate.min.js"></script>
    <script type="text/javascript" src="__CDN__/jquery-validation/1.13.1/localization/messages_zh.min.js"></script>

    <script type="text/javascript" charset="utf-8" src="__UPLOAD__/ueditor/1.4.3/ueditor.config.js"></script>
    <script type="text/javascript" charset="utf-8" src="__UPLOAD__/ueditor/1.4.3/ueditor.all.min.js"> </script>
    <link type="text/css" rel="stylesheet" href="__CDN__/comp/wxuploader.css?v=__APP_VERSION__" />
    <link type="text/css" rel="stylesheet" href="__CDN__/jquery-uploadify/3.2.1/uploadify.css" />
    <script type="text/javascript" src="__CDN__/jquery-uploadify/3.2.1/jquery.uploadify.min.js"></script>

</block>

<block name="area_body">
    {:W('Menus/topbar')}
    <div class="admin-main container-fluid">
        {:W('Menus/left')}
        <div class="admin-main-content">
            {:W('Menus/breadcrumb')}

            <!-- 带验证 form -->
            <form action="{:U('VipGrade/consume_stock')}" method="post">
                <div class="form-group">
                    <label for="inputpost_excerpt" class="col-md-2 col-lg-2 control-label">消费股获得规定时间</label>
                    <div class="col-md-10 col-lg-10" style="width: 480px;">
                        <div class="input-group">
                            <input type="text" name="start_time" id="starttime" class="form-control input-normal" value="{:date('Y/m/d H:i',$info['start_time'])}" />
                            <div class="input-group-addon">
                                <i class="fa fa-long-arrow-right"></i>
                            </div>
                            <input type="text" name="end_time" id="endtime"  class="form-control input-normal" value="{:date('Y/m/d H:i',$info['stop_time'])}" />
                        </div>
                    </div>
                </div>
                <script type="text/javascript">

                    $(function(){

                        $('#starttime').datetimepicker({lang:'ch'});
                        $('#endtime').datetimepicker({lang:'ch'});

                    })
                </script>
                <!-- form -->
                <input type="submit" class="btn btn-success" value="确定">
            </form>
        </div>
        <!-- END admin-main-content -->
    </div>
    <!-- END admin-main-->
</block>

<block name="area_footer">


</block>